package com.tdd.my;

import jakarta.inject.Inject;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
public class ComponentWithDependency implements Component {
    Dependency dependency;

    @Inject
    public ComponentWithDependency(Dependency dependency) {
        this.dependency = dependency;
    }
}
